import http from "@/utils/http";

const inter = {
    // 验证码获取
    sendShortMessage(data) {
        return http({
            url: "/api/sendShortMessage.do",
            method: "post",
            data
        });
    },
    //获取人才政策列表
    getPolicyList(data) {
        return http({
            url: "talent/policy/list",
            method: "get",
            params: data
        });
    },
    //获取人才政策详细信息
    //  getPolicyList(data) {
    //     return http({
    //         url: "talent/policy/list",
    //         method: "get",
    //         params: data
    //     });
    // },

    //按年度查询政策数据
    getPolicyMontn(data) {
        return http({
            url: "talent/policy/taltPolicyInfoListByMontn",
            method: "get",
            params: data
        });
    },
    //查询人才政策标签统计列表
    getLaberCountList(data) {
        return http({
            url: " talent/policy/laberCountList",
            method: "get",
            params: data
        });
    },

    //获取人才服务列表
    getServicetList(data) {
        return http({
            url: "talent/service/list",
            method: "get",
            params: data
        });
    },

    //获取人才计划列表
    getPlantList(data) {
        return http({
            url: "talent/plan/list",
            method: "get",
            params: data
        });
    }
};

export default inter;
//Get 案例
export function getInfoList() {}